package com.surelution.projects.crm

class GasType {

    static constraints = {
		shortName nullable:false
		shortName blank:false
    }
	
	static mapping = {
		cache true
	}

	String name
	String shortName
	String code
	Boolean active
	
	GasTypeCategory category
	
	static GasType getTypeByName(String typeName) {
		return GasTypeRaw.findByTypeName(typeName)
	}
}
